package org.despair2D.utils 
{
	
	

	
public interface ICookie
{
	
	//function get flushedDate() : String
	
	function get size() : Number
	
	function get userData() : Object
	function set userData( v:Object ) : void
	
	
	function addFlushedListener( listener:Function, priority:int = 0 ) : ICookie
	function removeFlushedListener( listener:Function ) : void
	
	function addPendingListener( listener:Function, priority:int = 0 ) : ICookie
	function removePendingListener( listener:Function ) : void
	
	function addSuccessListener( listener:Function, priority:int = 0 ) : ICookie
	function removeSuccessListener( listener:Function ) : void
	
	function flush() : void
	
}
	
}